package com.kingyun.gpsinspection.purificationservice.dao.mapper.som;


import com.kingyun.gpsinspection.purificationservice.facade.model.som.FacadeDeviceInfo;

import java.util.List;
import java.util.Map;

/**
 * 设备先关mapper
 */
public interface FacadeDeviceInfoMapper {
    /**
     * 根据用户id查询该用户所在组织的所有设备
     * @param userId
     * @return
     */
    List<FacadeDeviceInfo> queryByUserId(String userId);

    /**
     * 更新rfid
     * @param map
     * @return
     */
    int updateRfid(Map map);
}